package com.gauravk.audiovisualizersample;

import com.gauravk.audiovisualizersample.slice.MainAbilitySlice;

import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.agp.utils.Color;
import ohos.agp.window.service.WindowManager;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());

        WindowManager.getInstance().getTopWindow().get().setStatusBarColor(Color.rgb(66, 119, 208));
    }
}
